package com.boolib.animate.framework.entity;

import com.boolib.animate.commons.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.omg.CORBA.PRIVATE_MEMBER;
import org.springframework.context.annotation.Primary;

import javax.persistence.Transient;
import java.util.List;

/**
 * @author nier
 * @create 2020-02-20 18:23
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AnimateChapter extends BaseEntity {

    private  Long workId;

    private Integer idxOrder,price,isLock;

    private String title,explainInfo;


    @Transient
    private List<AnimateChapterContent> contents;


}
